home *** CD-ROM | disk | FTP | other *** search
- global scrWidth, scrHeight, scrDepth, IsSpellbound
-
- on prepareMovie
- cursor(200)
- if the platform contains "Windows,32" then
- set the exitLock to 1
- funcs = baRegister("konrad", 2320493)
- IsSpellbound = 0
- CopyCheck()
- put IsSpellbound
- repeat while IsSpellbound = 0
- Answer = baMsgBox("The Game CD must be in the computer to run!", "CD Not in the computer...", "RetryCancel", "Question", 1)
- if Answer = "Cancel" then
- Ok = baSetDisplay(scrWidth, scrHeight, scrDepth, "temp", 0)
- baDisableSwitching(0)
- OldSS = baDisableScreenSaver(0)
- KeysOff = baDisableKeys(0, baWinHandle())
- quit()
- end if
- CopyCheck()
- end repeat
- if voidp(scrWidth) then
- scrWidth = baScreenInfo("width")
- end if
- if voidp(scrHeight) then
- scrHeight = baScreenInfo("height")
- end if
- if voidp(scrDepth) then
- scrDepth = baScreenInfo("depth")
- end if
- end if
- end
-
- on CopyCheck
- DiskList = []
- CDList = []
- IsSpellbound = 0
- DiskList = baDiskList()
- repeat with c = 1 to count(DiskList)
- DiskList[c] = chars(DiskList[c], 1, 1)
- if baDiskInfo(DiskList[c], "type") = "CD-ROM" then
- if baDiskInfo(DiskList[c], "name") = "Fairies" then
- IsSpellbound = 1
- end if
- add(CDList, DiskList[c])
- end if
- end repeat
- end
-